package by.fedorenko.sample.services;

import org.springframework.transaction.annotation.Transactional;

import by.fedorenko.sample.datamodel.Rezervation;

public interface RezervationService {

Rezervation get(Long id);
	
@Transactional
void saveOrUpdate(Rezervation rezervation);	

//@Transactional
//void updateRezervation(Rezervation rezervation);
	
@Transactional
void delete(Rezervation rezervation);

@Transactional
void deleteAll();
}
